﻿<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Bezdelnick
 * Date: 11.04.13
 * Time: 16:45
 * To change this template use File | Settings | File Templates.
 */
require_once("common/Lang.php");
?>

<!-- Add News dialog -->
<div id="add_news_dialog" class="jquery-dialog"
     dialogTitle="<?= Lang::ADD_NEWS_DIALOG_TITLE ?>"
     dialogWidth="600"
     dialogAutoOpen="false"
     dialogDraggable="true"
     dialogModal="true">

    <form id='add_news_form' method="post" action="operations-news.php">
        <table style="width: 100%;" class="white-font">
            <tr>
                <td>Название</td>
                <td><input name="add_news_name" style="width: 100%;"/></td>
            </tr>
            <tr>
                <td>Описание</td>
                <td><input name="add_news_description" style="width: 100%;"/></td>
            </tr>
        </table>
    </form>
</div>

<!-- Edit News dialog -->
<div id="edit_news_dialog" class="jquery-dialog"
     dialogTitle="<?= Lang::EDIT_NEWS_DIALOG_TITLE ?>"
     dialogWidth="600"
     dialogAutoOpen="false"
     dialogDraggable="true"
     dialogModal="true">

    <form id='edit_news_form' method="post" action="operations-news.php">
        <table style="width: 100%;" class="white-font">
            <tr>
                <td><input name="edit_news_id" type="hidden" style="width: 100%;"/></td>
            </tr>
            <tr>
                <td>Название</td>
                <td><input name="edit_news_name" style="width: 100%;"/></td>
            </tr>
            <tr>
                <td>Описание</td>
                <td><input name="edit_news_description" style="width: 100%;"/></td>
            </tr>
            <tr>
                <td>Дата публикации</td>
                <td><input name="edit_news_publ_date" style="width: 100%;"/></td>
            </tr>
        </table>
    </form>
</div>

<!-- Remove News dialog -->
<div id="remove_news_dialog" class="jquery-dialog"
     dialogTitle="<?= Lang::REMOVE_NEWS_DIALOG_TITLE ?>"
     dialogWidth="600"
     dialogAutoOpen="false"
     dialogDraggable="true"
     dialogModal="true">

    <form id='remove_news_form' method="post" action="operations-news.php">
        <table style="width: 100%;" class="white-font">
            <tr>
                <td><input name="remove_news_id" type="hidden"/></td>
            </tr>
            <tr>
                <td>Название</td>
                <td><label name="remove_news_name" style="width: 100%;"></label></td>
            </tr>
        </table>
    </form>
</div>